<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>
<div>
    <div>
        <form method="post" th:action="@{/user/login}">
            username:<input name="username"><p/>
            password:<input name="password"><p/>
            <div th:text="${msg}"></div>
            <input type="submit" value="登录">
        </form>
    </div>
</div>
</body>
</html>